import 'package:flutter/cupertino.dart';
import 'package:home/mvp/utils/home_route_config.dart';
import 'package:user/utils/user_route_config.dart';

class RouteConfig{
  Map<String, WidgetBuilder> initRouteConfig(BuildContext context){
    Map<String, WidgetBuilder> routeConfig = {};
    routeConfig.addAll(HomeRouteConfig().onInitRouteConfig(context));
    routeConfig.addAll(UserRouteConfig().onInitRouteConfig(context));
    return routeConfig;
  }
}